//
//  TTChatView.h
//  SmartTalk
//
//  Created by 陈勃 on 15-1-9.
//  Copyright (c) 2015年 gameabc. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, TTChatViewStat) {
    ttchatviewstatnormal,
    ttchatviewstatinputtext,
    ttchatviewstatstartrecord,
    ttchatviewstatrecording,
    ttchatviewstatshowemoji,
    ttchatviewstatshowmore,
    ttchatviewstatother,
};
@protocol TTChatViewDelegate;
@interface TTChatView : UIView
@property(nonatomic,weak)NSObject<TTChatViewDelegate> *chatdelegate;

-(void)showstat:(NSUInteger)stat;
@end
@protocol TTChatViewDelegate
- (void)onChat:(NSString *)content;
@optional
- (BOOL)canSendMsg;
@end